package cc.mcggdd.leah.boot.stock.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.math.BigDecimal;

@Getter
@Setter
@Schema( description = "行情显示对象")
public class StockQuotesVO {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "股票代码")
    private String code;
    @Schema(description = "股票名称")
    private String name;
    @Schema(description = "现价")
    private BigDecimal now;
    @Schema(description = "开盘")
    private BigDecimal open;
    @Schema(description = "前日收盘")
    private BigDecimal close;
    @Schema(description = "最低")
    private BigDecimal low;
    @Schema(description = "最高")
    private BigDecimal high;
}
